package net.maku.express.biza.mapper.orderlist;
import java.util.List;
import java.util.Collection;
import net.maku.express.biza.controller.orderlist.vo.ChargeAddResponseVO;
import org.apache.ibatis.annotations.Param;

import net.maku.express.biza.pojo.orderlist.ChargeDetailsInfoPojo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
* @author wenyingying
* @description 针对表【charge_details_info】的数据库操作Mapper
* @createDate 2023-11-30 14:45:36
* @Entity net.maku.express.biza.pojo.orderlist.ChargeDetailsInfoPojo
*/
@Mapper
public interface ChargeDetailsInfoMapper extends BaseMapper<ChargeDetailsInfoPojo> {

    int insertSelective(ChargeDetailsInfoPojo chargeDetailsInfoPojo);

    int deleteByOrderId(@Param("orderId") Long orderId);

    int insertBatch(
            @Param("chargeDetailsInfoPojoCollection") Collection<ChargeDetailsInfoPojo> chargeDetailsInfoPojoCollection,@Param("oId")Long oId);

    List<ChargeAddResponseVO> selectByOrderId(@Param("orderId") Long orderId);

}




